package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.pojo.ShoppingCart;

public interface ShoppingCartService extends IService<ShoppingCart> {
    R add(ShoppingCart shoppingCart, Long userId);

    R findByUserId();

    void clean();

    void sub(ShoppingCart shoppingCart);

}
